package org.zkdemo.result;

import java.util.ArrayList;
import java.util.List;

public class Result {
	private Status status;
	private String message;
	private List<Object> data = new ArrayList<Object>();

	public Result() {

	}

	public Result(Status status, String message) {
		super();
		this.status = status;
		this.message = message;
	}

	public Result(Status status, String message, List<Object> data) {
		super();
		this.status = status;
		this.message = message;
		this.data = data;
	}

	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	public List<Object> getData() {
		return data;
	}

	public void setData(List<Object> data) {
		this.data = data;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
	public String toString() {
		return "Result [status=" + status + ", message=" + message + ", data=" + data + "]";
	}

}
